package com.example.drools.spring.yc.core;


import com.example.drools.spring.entity.DroolModel;

/**
 * @author ddsyw
 * @version 1.0
 * @date 2021/12/29 2:55 下午
 */
public interface YcRuleEngine {
  /**
   * execute engine
   * @param drool
   */
  void executeRuleEngine(final Object drool);

  /**
   * extend
   * @param drool
   * @param
   */
  void executeRuleEngine(final Object... drool);

  /**
   * @param ycAgendaFilter
   * @param drool
   */
  void executeRuleEngine(final YcAgendaFilter ycAgendaFilter, final Object... drool);

  /**
   * init
   * spring unify management
   */
  @Deprecated
  void initEngine();

  /**
   * refresh from db or other
   */

  void refreshEnginRule(final DroolModel droolModel);

}
